package com.lpy.trans.service;

import com.lpy.trans.mapper.LogInfoMapper;
import com.lpy.trans.model.LogInfo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
public class LogInfoService {

    @Resource
    private LogInfoMapper logInfoMapper;

    @Transactional
    public Integer insertLog(LogInfo logInfo){
        return logInfoMapper.insertLog(logInfo);
    }

}
